#!/bin/bash

export CXX=g++
export CC=gcc

rm -rf Lib Include

mkdir Lib
mkdir Include

cd media-server

make clean
make

cp libdash/debug.linux/libdash.a ../Lib
cp libdash/include/*.h ../Include

cp libflv/debug.linux/libflv.a ../Lib
cp libflv/include/*.h ../Include

cp libhls/debug.linux/libhls.a ../Lib
cp libhls/include/*.h ../Include

cp libmov/debug.linux/libmov.a ../Lib
cp libmov/include/*.h ../Include

cp libmpeg/debug.linux/libmpeg.a ../Lib
cp libmpeg/include/*.h ../Include

cp librtmp/debug.linux/librtmp.a ../Lib
cp librtmp/include/*.h ../Include

cp librtp/debug.linux/librtp.a ../Lib
cp librtp/include/*.h ../Include

cp librtsp/debug.linux/librtsp.a ../Lib
cp librtsp/include/*.h ../Include

